package com.ly.emp.bean.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 考核单位绩效部门VO
 *
 * @since 2023-02-07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Schema(description = "考核单位绩效部门树")
public class BaseSuitunitOrgTreeVO {

    @Schema(description = "主键")
    private String id;

    @Schema(description = "组织编码")
    private String orgCode;

    @Schema(description = "组织名称")
    private String orgName;

    @Schema(description = "组织类型")
    private String orgType;

    @Schema(description = "父部门编码")
    private String parentOrgCode;

    @Schema(description = "父部门名称")
    private String parentOrgName;

    private List<BaseSuitunitOrgTreeVO> children;
}